<script setup>
import {getRandomMap} from "./mapUtil.js"
import {ref} from "vue"

const map = ref([])

function init() {
  map.value = getRandomMap(9)
}

init()
</script>

<template>
  <div v-for="items in map" class="flex">
    <div v-for="item in items" class="w-6 h-6 leading-6 text-center">
      {{ item }}
    </div>
  </div>
</template>

<style scoped>

</style>